import type { GeneratedEtsLibFile } from "../../types/generated";

export const FILE: GeneratedEtsLibFile = {
  path: 'ets/api/@ohos.display.d.ts',
  content: "/*\n * Copyright (c) 2021 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * @file\n * @kit ArkUI\n */\nimport type { AsyncCallback, Callback } from './@ohos.base';\nimport type colorSpaceManager from './@ohos.graphics.colorSpaceManager';\nimport type hdrCapability from './@ohos.graphics.hdrCapability';\n/**\n * Interface of display manager.\n *\n * @namespace display\n * @syscap SystemCapability.WindowManager.WindowManager.Core\n * @since 7\n */\n/**\n * Interface of display manager.\n *\n * @namespace display\n * @syscap SystemCapability.WindowManager.WindowManager.Core\n * @crossplatform\n * @since 10\n */\n/**\n * Interface of display manager.\n *\n * @namespace display\n * @syscap SystemCapability.WindowManager.WindowManager.Core\n * @crossplatform\n * @atomicservice\n * @since 11\n */\ndeclare namespace display {\n    /**\n     * Obtain the default display.\n     *\n     * @param { AsyncCallback<Display> } callback the result of display\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @since 7\n     * @deprecated since 9\n     * @useinstead ohos.display#getDefaultDisplaySync\n     */\n    function getDefaultDisplay(callback: AsyncCallback<Display>): void;\n    /**\n     * Obtain the default display.\n     *\n     * @returns { Promise<Display> } the result of display\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @since 7\n     * @deprecated since 9\n     * @useinstead ohos.display#getDefaultDisplaySync\n     */\n    function getDefaultDisplay(): Promise<Display>;\n    /**\n     * Obtain the default display.\n     *\n     * @returns { Display } the result of display\n     * @throws { BusinessError } 1400001 - Invalid display or screen.\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @since 9\n     */\n    /**\n     * Obtain the default display.\n     *\n     * @returns { Display } the result of display\n     * @throws { BusinessError } 1400001 - Invalid display or screen.\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Obtain the default display.\n     *\n     * @returns { Display } the result of display\n     * @throws { BusinessError } 1400001 - Invalid display or screen.\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    function getDefaultDisplaySync(): Display;\n    /**\n     * Obtain the primary display. For devices other than 2in1 devices, the Display object obtained is the built-in screen.\n     * For 2in1 devices with an external screen, the Display object obtained is the primary screen. For 2in1 devices without an external screen, the Display object obtained is the built-in screen.\n     *\n     * @returns { Display } the result of primary display\n     * @throws { BusinessError } 1400001 - Invalid display or screen.\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 14\n     */\n    function getPrimaryDisplaySync(): Display;\n    /**\n     * Obtain the target display.\n     *\n     * @param { number } displayId Display id to query. This parameter should be greater than or equal to 0.\n     * @returns { Display } the result of display\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     *                                                                   2. Incorrect parameter types.\n     *                                                                   3. Parameter verification failed.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @atomicservice\n     * @since 12\n     */\n    function getDisplayByIdSync(displayId: number): Display;\n    /**\n     * Obtain all displays.\n     *\n     * @param { AsyncCallback<Array<Display>> } callback the result of all displays\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @since 7\n     * @deprecated since 9\n     * @useinstead ohos.display#getAllDisplays\n     */\n    function getAllDisplay(callback: AsyncCallback<Array<Display>>): void;\n    /**\n     * Obtain all displays.\n     *\n     * @returns { Promise<Array<Display>> } the result of all displays\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @since 7\n     * @deprecated since 9\n     * @useinstead ohos.display#getAllDisplays\n     */\n    function getAllDisplay(): Promise<Array<Display>>;\n    /**\n     * Obtain all displays.\n     *\n     * @param { AsyncCallback<Array<Display>> } callback the result of all displays\n     * @throws { BusinessError } 1400001 - Invalid display or screen.\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @since 9\n     */\n    /**\n     * Obtain all displays.\n     *\n     * @param { AsyncCallback<Array<Display>> } callback the result of all displays\n     * @throws { BusinessError } 1400001 - Invalid display or screen.\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @atomicservice\n     * @since 12\n     */\n    function getAllDisplays(callback: AsyncCallback<Array<Display>>): void;\n    /**\n     * Obtain all displays.\n     *\n     * @returns { Promise<Array<Display>> } the result of all displays\n     * @throws { BusinessError } 1400001 - Invalid display or screen.\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @since 9\n     */\n    /**\n     * Obtain all displays.\n     *\n     * @returns { Promise<Array<Display>> } the result of all displays\n     * @throws { BusinessError } 1400001 - Invalid display or screen.\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @atomicservice\n     * @since 12\n     */\n    function getAllDisplays(): Promise<Array<Display>>;\n    /**\n     * Obtain all display physical resolution\n     *\n     * @returns { Promise<Array<DisplayPhysicalResolution>> } the result of all display physical resolution\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @atomicservice\n     * @since 12\n     */\n    function getAllDisplayPhysicalResolution(): Promise<Array<DisplayPhysicalResolution>>;\n    /**\n     * Register the callback for display changes.\n     *\n     * @param { 'add' | 'remove' | 'change' } type the event of display change\n     * @param { Callback<number> } callback the display id of changed\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @since 7\n     */\n    /**\n     * Register the callback for display changes.\n     *\n     * @param { 'add' | 'remove' | 'change' } type the event of display change\n     * @param { Callback<number> } callback the display id of changed\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @atomicservice\n     * @since 12\n     */\n    function on(type: 'add' | 'remove' | 'change', callback: Callback<number>): void;\n    /**\n     * Unregister the callback for display changes.\n     *\n     * @param { 'add' | 'remove' | 'change' } type the event of display change event\n     * @param { Callback<number> } callback the display id of changed\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @since 7\n     */\n    /**\n     * Unregister the callback for display changes.\n     *\n     * @param { 'add' | 'remove' | 'change' } type the event of display change event\n     * @param { Callback<number> } callback the display id of changed\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @atomicservice\n     * @since 12\n     */\n    function off(type: 'add' | 'remove' | 'change', callback?: Callback<number>): void;\n    /**\n     * Check whether the device is foldable.\n     *\n     * @returns { boolean } true means the device is foldable.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @since 10\n     */\n    /**\n     * Check whether the device is foldable.\n     *\n     * @returns { boolean } true means the device is foldable.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    function isFoldable(): boolean;\n    /**\n     * Get the current fold status of the foldable device.\n     *\n     * @returns { FoldStatus } fold status of device.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @since 10\n     */\n    /**\n     * Get the current fold status of the foldable device.\n     *\n     * @returns { FoldStatus } fold status of device.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    function getFoldStatus(): FoldStatus;\n    /**\n     * Register the callback for fold status changes.\n     *\n     * @param { 'foldStatusChange' } type the event of fold status changes\n     * @param { Callback<FoldStatus> } callback Callback used to return the current fold status of device\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @since 10\n     */\n    /**\n     * Register the callback for fold status changes.\n     *\n     * @param { 'foldStatusChange' } type the event of fold status changes\n     * @param { Callback<FoldStatus> } callback Callback used to return the current fold status of device\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    function on(type: 'foldStatusChange', callback: Callback<FoldStatus>): void;\n    /**\n     * Unregister the callback for fold status changes.\n     *\n     * @param { 'foldStatusChange' } type the event of fold status changes\n     * @param { Callback<FoldStatus> } callback Callback used to return the current fold status of device\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @since 10\n     */\n    /**\n     * Unregister the callback for fold status changes.\n     *\n     * @param { 'foldStatusChange' } type the event of fold status changes\n     * @param { Callback<FoldStatus> } callback Callback used to return the current fold status of device\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    function off(type: 'foldStatusChange', callback?: Callback<FoldStatus>): void;\n    /**\n     * Register the callback for fold angle changes.\n     *\n     * @param { 'foldAngleChange' } type the event of fold angle changes.\n     * @param { Callback<Array<number>> } callback Callback used to return the current fold angle of device.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    function on(type: 'foldAngleChange', callback: Callback<Array<number>>): void;\n    /**\n     * Unregister the callback for fold angle changes.\n     *\n     * @param { 'foldAngleChange' } type the event of fold angle changes.\n     * @param { Callback<Array<number>> } callback Callback used to return the current fold angle of device.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    function off(type: 'foldAngleChange', callback?: Callback<Array<number>>): void;\n    /**\n     * Register the callback for device capture, casting, or recording status changes.\n     *\n     * @param { 'captureStatusChange' } type the event of capture, casting, or recording status changes.\n     * @param { Callback<boolean> } callback Callback used to return the device capture, casting, or recording status.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    function on(type: 'captureStatusChange', callback: Callback<boolean>): void;\n    /**\n     * Unregister the callback for device capture, casting, or recording status changes.\n     *\n     * @param { 'captureStatusChange' } type the event of capture, casting, or recording status changes.\n     * @param { Callback<boolean> } callback Callback used to return the device capture, casting, or recording status .\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    function off(type: 'captureStatusChange', callback?: Callback<boolean>): void;\n    /**\n     * Check whether the device is captured, projected, or recorded.\n     *\n     * @returns { boolean } true means the device is captured, projected, or recorded.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    function isCaptured(): boolean;\n    /**\n     * Get the display mode of the foldable device.\n     *\n     * @returns { FoldDisplayMode } display mode of the foldable device.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @since 10\n     */\n    /**\n     * Get the display mode of the foldable device.\n     *\n     * @returns { FoldDisplayMode } display mode of the foldable device.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    function getFoldDisplayMode(): FoldDisplayMode;\n    /**\n     * Register the callback for fold display mode changes.\n     *\n     * @param { 'foldDisplayModeChange' } type the event of fold display mode changes\n     * @param { Callback<FoldDisplayMode> } callback Callback used to return the current fold display mode\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @since 10\n     */\n    /**\n     * Register the callback for fold display mode changes.\n     *\n     * @param { 'foldDisplayModeChange' } type the event of fold display mode changes\n     * @param { Callback<FoldDisplayMode> } callback Callback used to return the current fold display mode\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    function on(type: 'foldDisplayModeChange', callback: Callback<FoldDisplayMode>): void;\n    /**\n     * Unregister the callback for fold display mode changes.\n     *\n     * @param { 'foldDisplayModeChange' } type the event of fold display mode changes\n     * @param { Callback<FoldDisplayMode> } callback Callback used to return the current fold display mode\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @since 10\n     */\n    /**\n     * Unregister the callback for fold display mode changes.\n     *\n     * @param { 'foldDisplayModeChange' } type the event of fold display mode changes\n     * @param { Callback<FoldDisplayMode> } callback Callback used to return the current fold display mode\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    function off(type: 'foldDisplayModeChange', callback?: Callback<FoldDisplayMode>): void;\n    /**\n     * Get the fold crease region in the current display mode.\n     *\n     * @returns { FoldCreaseRegion } fold crease region in the current display mode.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @since 10\n     */\n    /**\n     * Get the fold crease region in the current display mode.\n     *\n     * @returns { FoldCreaseRegion } fold crease region in the current display mode.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    function getCurrentFoldCreaseRegion(): FoldCreaseRegion;\n    /**\n   * Create virtual screen.\n   *\n   * @permission ohos.permission.ACCESS_VIRTUAL_SCREEN\n   * @param { VirtualScreenConfig } config Indicates the options of the virtual screen.\n   * @returns { Promise<number> } Promise used to return the created virtual screen id\n   * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API.\n   * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n   * <br>2. Incorrect parameter types.\n   * @throws { BusinessError } 801 - Capability not supported.function createVirtualScreen can not work correctly due to limited device capabilities.\n   * @throws { BusinessError } 1400001 - Invalid display or screen.\n   * @syscap  SystemCapability.Window.SessionManager\n   * @since 16\n   */\n    function createVirtualScreen(config: VirtualScreenConfig): Promise<number>;\n    /**\n     * Destroy virtual screen.\n     *\n     * @permission ohos.permission.ACCESS_VIRTUAL_SCREEN\n     * @param { number } screenId Indicates the screen id of the virtual screen.\n     * @returns { Promise<void> } Promise that returns no value.\n     * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.function destroyVirtualScreen can not work correctly due to limited device capabilities.\n     * @throws { BusinessError } 1400001 - Invalid display or screen.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap  SystemCapability.Window.SessionManager\n     * @since 16\n     */\n    function destroyVirtualScreen(screenId: number): Promise<void>;\n    /**\n     * Set surface for the virtual screen.\n     *\n     * @permission ohos.permission.ACCESS_VIRTUAL_SCREEN\n     * @param { number } screenId Indicates the screen id of the virtual screen.\n     * @param { string } surfaceId Indicates the surface id.\n     * @returns { Promise<void> } Promise that returns no value\n     * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types.\n     * @throws { BusinessError } 801 - Capability not supported.function setVirtualScreenSurface can not work correctly due to limited device capabilities.\n     * @throws { BusinessError } 1400001 - Invalid display or screen.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap  SystemCapability.Window.SessionManager\n     * @since 16\n     */\n    function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise<void>;\n    /**\n     * Make screen as unique-screen\n     *\n     * @permission ohos.permission.ACCESS_VIRTUAL_SCREEN\n     * @param { number } screenId Indicates the unique screen id. It's type should be int.\n     * @returns { Promise<void> } Promise that returns no value\n     * @throws { BusinessError } 201 - Permission verification failed. The application does not have the permission required to call the API.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n     * <br>2. Incorrect parameter types. 3. Parameter verification failed.\n     * @throws { BusinessError } 801 - Capability not supported.function makeUnique can not work correctly due to limited device capabilities.\n     * @throws { BusinessError } 1400001 - Invalid display or screen.\n     * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n     * @syscap SystemCapability.Window.SessionManager\n     * @since 16\n     */\n    function makeUnique(screenId: number): Promise<void>;\n    /**\n     * The parameter for creating virtual screen.\n     *\n     * @interface VirtualScreenConfig\n     * @syscap SystemCapability.Window.SessionManager\n     * @since 16\n     */\n    interface VirtualScreenConfig {\n        /**\n         * Indicates the name of the virtual screen.\n         *\n         * @type { string }\n         * @syscap  SystemCapability.Window.SessionManager\n         * @since 16\n         */\n        name: string;\n        /**\n         * Indicates the width of the virtual screen.\n         *\n         * @type { number }\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 16\n         */\n        width: number;\n        /**\n         * Indicates the height of the virtual screen.\n         *\n         * @type { number }\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 16\n         */\n        height: number;\n        /**\n         * Indicates the density of the virtual screen.\n         *\n         * @type { number }\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 16\n         */\n        density: number;\n        /**\n         * Indicates the surface id of the virtual screen.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 16\n         */\n        surfaceId: string;\n    }\n    /**\n     * Enumerates the fold status. For dual-fold axis devices, when oriented with the charging port at the bottom, the hinges are identified from right to left as the first and second fold axes, respectively.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Window.SessionManager\n     * @since 10\n     */\n    /**\n     * Enumerates the fold status.For dual-fold axis devices, when oriented with the charging port at the bottom, the hinges are identified from right to left as the first and second fold axes, respectively.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    enum FoldStatus {\n        /**\n         * Fold Status Unknown.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 10\n         */\n        /**\n         * Fold Status Unknown.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 12\n         */\n        FOLD_STATUS_UNKNOWN = 0,\n        /**\n         * Fold Status Expanded. For dual-fold axis devices, the first fold axis is fully open, and the second fold axis is folded.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 10\n         */\n        /**\n         * Fold Status Expanded. For dual-fold axis devices, the first fold axis is fully open, and the second fold axis is folded.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 12\n         */\n        FOLD_STATUS_EXPANDED,\n        /**\n         * Fold Status Folded. For dual-fold axis devices, the first fold axis is folded, and the second fold axis is folded.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 10\n         */\n        /**\n         * Fold Status Folded. For dual-fold axis devices, the first fold axis is folded, and the second fold axis is folded.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 12\n         */\n        FOLD_STATUS_FOLDED,\n        /**\n         * Fold Status Half Folded, somehow between fully open and completely closed. For dual-fold axis devices, the first fold axis is half-folded, and the second fold axis is folded.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 10\n         */\n        /**\n         * Fold Status Half Folded, somehow between fully open and completely closed. For dual-fold axis devices, the first fold axis is half-folded, and the second fold axis is folded.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 12\n         */\n        FOLD_STATUS_HALF_FOLDED,\n        /**\n         * Fold Status Expanded With Second Expanded.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 15\n         */\n        FOLD_STATUS_EXPANDED_WITH_SECOND_EXPANDED = 11,\n        /**\n         * Fold Status Expanded With Second Half Folded.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 15\n         */\n        FOLD_STATUS_EXPANDED_WITH_SECOND_HALF_FOLDED = 21,\n        /**\n         * Fold Status Folded With Second Expanded.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 15\n         */\n        FOLD_STATUS_FOLDED_WITH_SECOND_EXPANDED = 12,\n        /**\n         * Fold Status Folded With Second Half Folded.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 15\n         */\n        FOLD_STATUS_FOLDED_WITH_SECOND_HALF_FOLDED = 22,\n        /**\n         * Fold Status Half Folded With Second Expanded.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 15\n         */\n        FOLD_STATUS_HALF_FOLDED_WITH_SECOND_EXPANDED = 13,\n        /**\n         * Fold Status Half Folded With Second Half Folded.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 15\n         */\n        FOLD_STATUS_HALF_FOLDED_WITH_SECOND_HALF_FOLDED = 23\n    }\n    /**\n     * Enumerates the fold display mode.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Window.SessionManager\n     * @since 10\n     */\n    /**\n     * Enumerates the fold display mode.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    enum FoldDisplayMode {\n        /**\n         * Unknown Display.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 10\n         */\n        /**\n         * Unknown Display.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 12\n         */\n        FOLD_DISPLAY_MODE_UNKNOWN = 0,\n        /**\n         * Full Display.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 10\n         */\n        /**\n         * Full Display.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 12\n         */\n        FOLD_DISPLAY_MODE_FULL,\n        /**\n         * Main Display.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 10\n         */\n        /**\n         * Main Display.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 12\n         */\n        FOLD_DISPLAY_MODE_MAIN,\n        /**\n         * Sub Display.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 10\n         */\n        /**\n         * Sub Display.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 12\n         */\n        FOLD_DISPLAY_MODE_SUB,\n        /**\n         * Coordination Display.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 10\n         */\n        /**\n         * Coordination Display.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 12\n         */\n        FOLD_DISPLAY_MODE_COORDINATION\n    }\n    /**\n     * Enumerates the display states.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @since 7\n     */\n    /**\n     * Enumerates the display states.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @atomicservice\n     * @since 12\n     */\n    enum DisplayState {\n        /**\n         * Unknown.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Unknown.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        STATE_UNKNOWN = 0,\n        /**\n         * Screen off.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Screen off.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        STATE_OFF,\n        /**\n         * Screen on.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Screen on.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        STATE_ON,\n        /**\n         * Doze, but it will update for some important system messages.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Doze, but it will update for some important system messages.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        STATE_DOZE,\n        /**\n         * Doze and not update.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Doze and not update.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        STATE_DOZE_SUSPEND,\n        /**\n         * VR node.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * VR node.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        STATE_VR,\n        /**\n         * Screen on and not update.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Screen on and not update.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        STATE_ON_SUSPEND\n    }\n    /**\n     * Enumerates the display orientation.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Enumerates the display orientation.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    enum Orientation {\n        /**\n         * Indicate that the display content is in portrait mode.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @since 10\n         */\n        /**\n         * Indicate that the display content is in portrait mode.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        PORTRAIT = 0,\n        /**\n         * Indicate that the display content is in landscape mode.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @since 10\n         */\n        /**\n         * Indicate that the display content is in landscape mode.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        LANDSCAPE = 1,\n        /**\n         * Indicate that the display content is in the opposite direction of the portrait mode.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @since 10\n         */\n        /**\n         * Indicate that the display content is in the opposite direction of the portrait mode.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        PORTRAIT_INVERTED = 2,\n        /**\n         * Indicate that the display content is in the opposite direction of the landscape mode.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @since 10\n         */\n        /**\n         * Indicate that the display content is in the opposite direction of the landscape mode.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        LANDSCAPE_INVERTED = 3\n    }\n    /**\n     * Indicate the source mode of the display\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 19\n     */\n    enum DisplaySourceMode {\n        /**\n         * Indicate that the display is not in use.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 19\n         */\n        NONE = 0,\n        /**\n         * Indicate that the display is the main display.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 19\n         */\n        MAIN = 1,\n        /**\n         * Indicate that the display is in mirror mode.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 19\n         */\n        MIRROR = 2,\n        /**\n         * Indicate that the display is in extend mode.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 19\n         */\n        EXTEND = 3,\n        /**\n         * Indicate that the display stands alone.\n         *\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 19\n         */\n        ALONE = 4\n    }\n    /**\n     * Enumerates the screen shape.\n     *\n     * @enum { number }\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @crossplatform\n     * @since 18\n     */\n    enum ScreenShape {\n        /**\n         *The screen shape is rectangle.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @since 18\n         */\n        RECTANGLE = 0,\n        /**\n         *The screen shape is round.\n         *\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @since 18\n         */\n        ROUND = 1\n    }\n    /**\n     * Fold Crease Region\n     *\n     * @interface FoldCreaseRegion\n     * @syscap SystemCapability.Window.SessionManager\n     * @since 10\n     */\n    /**\n     * Fold Crease Region\n     *\n     * @interface FoldCreaseRegion\n     * @syscap SystemCapability.Window.SessionManager\n     * @atomicservice\n     * @since 12\n     */\n    interface FoldCreaseRegion {\n        /**\n         * The display ID is used to identify the screen where the crease is located.\n         *\n         * @type { number }\n         * @readonly\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 10\n         */\n        /**\n         * The display ID is used to identify the screen where the crease is located.\n         *\n         * @type { number }\n         * @readonly\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 12\n         */\n        readonly displayId: number;\n        /**\n         * Crease Region.\n         *\n         * @type { Array<Rect> }\n         * @readonly\n         * @syscap SystemCapability.Window.SessionManager\n         * @since 10\n         */\n        /**\n         * Crease Region.\n         *\n         * @type { Array<Rect> }\n         * @readonly\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 12\n         */\n        readonly creaseRects: Array<Rect>;\n    }\n    /**\n     * Rectangle\n     *\n     * @interface Rect\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @since 9\n     */\n    /**\n     * Rectangle\n     *\n     * @interface Rect\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @atomicservice\n     * @since 12\n     */\n    interface Rect {\n        /**\n         * The X-axis coordinate of the upper left vertex of the rectangle, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 9\n         */\n        /**\n         * The X-axis coordinate of the upper left vertex of the rectangle, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        left: number;\n        /**\n         * The Y-axis coordinate of the upper left vertex of the rectangle, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 9\n         */\n        /**\n         * The Y-axis coordinate of the upper left vertex of the rectangle, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        top: number;\n        /**\n         * Width of the rectangle, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 9\n         */\n        /**\n         * Width of the rectangle, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        width: number;\n        /**\n         * Height of the rectangle, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 9\n         */\n        /**\n         * Height of the rectangle, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        height: number;\n    }\n    /**\n     * Curved area rects of the waterfall display.\n     *\n     * @interface WaterfallDisplayAreaRects\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @since 9\n     */\n    /**\n     * Curved area rects of the waterfall display.\n     *\n     * @interface WaterfallDisplayAreaRects\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @atomicservice\n     * @since 12\n     */\n    interface WaterfallDisplayAreaRects {\n        /**\n         * Indicates the size of left side curved area of the waterfall screen.\n         *\n         * @type { Rect }\n         * @readonly\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 9\n         */\n        /**\n         * Indicates the size of left side curved area of the waterfall screen.\n         *\n         * @type { Rect }\n         * @readonly\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        readonly left: Rect;\n        /**\n         * Indicates the size of right side curved area of the waterfall screen.\n         *\n         * @type { Rect }\n         * @readonly\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 9\n         */\n        /**\n         * Indicates the size of right side curved area of the waterfall screen.\n         *\n         * @type { Rect }\n         * @readonly\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        readonly right: Rect;\n        /**\n         * Indicates the size of top side curved area of the waterfall screen.\n         *\n         * @type { Rect }\n         * @readonly\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 9\n         */\n        /**\n         * Indicates the size of top side curved area of the waterfall screen.\n         *\n         * @type { Rect }\n         * @readonly\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        readonly top: Rect;\n        /**\n         * Indicates the size of bottom side curved area of the waterfall screen.\n         *\n         * @type { Rect }\n         * @readonly\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 9\n         */\n        /**\n         * Indicates the size of bottom side curved area of the waterfall screen.\n         *\n         * @type { Rect }\n         * @readonly\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        readonly bottom: Rect;\n    }\n    /**\n     * Cutout information of the display.\n     *\n     * @interface CutoutInfo\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @since 9\n     */\n    /**\n     * Cutout information of the display.\n     *\n     * @interface CutoutInfo\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @atomicservice\n     * @since 12\n     */\n    interface CutoutInfo {\n        /**\n         * Bounding rectangles of the cutout areas of the display.\n         *\n         * @type { Array<Rect> }\n         * @readonly\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 9\n         */\n        /**\n         * Bounding rectangles of the cutout areas of the display.\n         *\n         * @type { Array<Rect> }\n         * @readonly\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        readonly boundingRects: Array<Rect>;\n        /**\n         * Rectangles of curved parts on each side of a waterfall display.\n         *\n         * @type { WaterfallDisplayAreaRects }\n         * @readonly\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 9\n         */\n        /**\n         * Rectangles of curved parts on each side of a waterfall display.\n         *\n         * @type { WaterfallDisplayAreaRects }\n         * @readonly\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        readonly waterfallDisplayAreaRects: WaterfallDisplayAreaRects;\n    }\n    /**\n     * Define display physical resolution.\n     *\n     * @interface DisplayPhysicalResolution\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 12\n     */\n    interface DisplayPhysicalResolution {\n        /**\n         * fold display mode.\n         *\n         * @type { FoldDisplayMode }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        foldDisplayMode: FoldDisplayMode;\n        /**\n         * Display physical width, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        physicalWidth: number;\n        /**\n         * Display physical height, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        physicalHeight: number;\n    }\n    /**\n     * Define properties of the display. They cannot be updated automatically.\n     *\n     * @interface Display\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @since 7\n     */\n    /**\n     * Define properties of the display. They cannot be updated automatically.\n     *\n     * @interface Display\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @crossplatform\n     * @since 10\n     */\n    /**\n     * Define properties of the display. They cannot be updated automatically.\n     *\n     * @interface Display\n     * @syscap SystemCapability.WindowManager.WindowManager.Core\n     * @crossplatform\n     * @atomicservice\n     * @since 11\n     */\n    interface Display {\n        /**\n         * Display ID.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Display ID.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @since 10\n         */\n        /**\n         * Display ID.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        id: number;\n        /**\n         * Display name.\n         *\n         * @type { string }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Display name.\n         *\n         * @type { string }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        name: string;\n        /**\n         * Whether the display is alive.\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Whether the display is alive.\n         *\n         * @type { boolean }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        alive: boolean;\n        /**\n         * The state of display.\n         *\n         * @type { DisplayState }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * The state of display.\n         *\n         * @type { DisplayState }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        state: DisplayState;\n        /**\n         * Refresh rate, in Hz.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Refresh rate, in Hz.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        refreshRate: number;\n        /**\n         * Rotation degrees of the display.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * An enumeration value for rotation degrees of the display.\n         * The value 0 indicates that the screen of the display rotates clockwise by 0°.\n         * The value 1 indicates that the screen of the display rotates clockwise by 90°.\n         * The value 2 indicates that the screen of the display rotates clockwise by 180°.\n         * The value 3 indicates that the screen of the display rotates clockwise by 270°.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 11\n         */\n        rotation: number;\n        /**\n         * Display width, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Display width, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @since 10\n         */\n        /**\n         * Display width, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 11\n         */\n        width: number;\n        /**\n         * Display height, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Display height, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @since 10\n         */\n        /**\n         * Display height, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 11\n         */\n        height: number;\n        /**\n         * Display available width, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        availableWidth: number;\n        /**\n         * Display available height, in pixels.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        availableHeight: number;\n        /**\n         * Display resolution, that is, the number of pixels per inch.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Display resolution, that is, the number of pixels per inch.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @since 11\n         */\n        /**\n         * Display resolution, that is, the number of pixels per inch.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        densityDPI: number;\n        /**\n         * Display orientation.\n         *\n         * @type { Orientation }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @since 10\n         */\n        /**\n         * Display orientation.\n         *\n         * @type { Orientation }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        orientation: Orientation;\n        /**\n         * Display density, in pixels. which is the scaling coefficient between physical pixels and logical pixels. The value for a low-resolution display is 1.0.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Display density, in pixels. which is the scaling coefficient between physical pixels and logical pixels. The value for a low-resolution display is 1.0.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 11\n         */\n        densityPixels: number;\n        /**\n         * Text scale density of the display.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * Text scale density of the display.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @since 11\n         */\n        /**\n         * Text scale density of the display.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @crossplatform\n         * @atomicservice\n         * @since 12\n         */\n        scaledDensity: number;\n        /**\n         * DPI on the x-axis.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * DPI on the x-axis.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        xDPI: number;\n        /**\n         * DPI on the y-axis.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 7\n         */\n        /**\n         * DPI on the y-axis.\n         *\n         * @type { number }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        yDPI: number;\n        /**\n         * The shape of screen\n         *\n         * @type { ?ScreenShape }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 18\n         */\n        screenShape?: ScreenShape;\n        /**\n         * All supported color spaces.\n         *\n         * @type { Array<colorSpaceManager.ColorSpace> }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 11\n         */\n        /**\n         * All supported color spaces.\n         *\n         * @type { Array<colorSpaceManager.ColorSpace> }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        colorSpaces: Array<colorSpaceManager.ColorSpace>;\n        /**\n         * All supported HDR formats.\n         *\n         * @type { Array<hdrCapability.HDRFormat> }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 11\n         */\n        /**\n         * All supported HDR formats.\n         *\n         * @type { Array<hdrCapability.HDRFormat> }\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        hdrFormats: Array<hdrCapability.HDRFormat>;\n        /**\n         * The source mode of display\n         *\n         * @type { ?DisplaySourceMode }\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 19\n         */\n        sourceMode?: DisplaySourceMode;\n        /**\n         * Coordinates of the top-left corner of the display relative to the main display.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 19\n         */\n        x?: number;\n        /**\n         * Coordinates of the top-left corner of the display relative to the main display.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 19\n         */\n        y?: number;\n        /**\n         * Obtain the cutout info of the display.\n         *\n         * @param { AsyncCallback<CutoutInfo> } callback\n         * @throws { BusinessError } 1400001 - Invalid display or screen.\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 9\n         */\n        /**\n         * Obtain the cutout info of the display.\n         *\n         * @param { AsyncCallback<CutoutInfo> } callback\n         * @throws { BusinessError } 1400001 - Invalid display or screen.\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        getCutoutInfo(callback: AsyncCallback<CutoutInfo>): void;\n        /**\n         * Obtain the cutout info of the display.\n         *\n         * @returns { Promise<CutoutInfo> }\n         * @throws { BusinessError } 1400001 - Invalid display or screen.\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @since 9\n         */\n        /**\n         * Obtain the cutout info of the display.\n         *\n         * @returns { Promise<CutoutInfo> }\n         * @throws { BusinessError } 1400001 - Invalid display or screen.\n         * @syscap SystemCapability.WindowManager.WindowManager.Core\n         * @atomicservice\n         * @since 12\n         */\n        getCutoutInfo(): Promise<CutoutInfo>;\n        /**\n         * Obtain the available area of the display.\n         *\n         * @returns { Promise<Rect> }\n         * @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities.\n         * @throws { BusinessError } 1400001 - Invalid display or screen.\n         * @syscap SystemCapability.Window.SessionManager\n         * @atomicservice\n         * @since 12\n         */\n        getAvailableArea(): Promise<Rect>;\n        /**\n        * Register the callback for available area changes.\n        *\n        * @param { 'availableAreaChange' } type - the event of available area changes\n        * @param { Callback<Rect> } callback - Callback used to return the available area\n        * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n        * <br>2. Incorrect parameter types.\n        * @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities.\n        * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n        * @syscap SystemCapability.Window.SessionManager\n        * @atomicservice\n        * @since 12\n        */\n        on(type: 'availableAreaChange', callback: Callback<Rect>): void;\n        /**\n        * Unregister the callback for available area changes.\n        *\n        * @param { 'availableAreaChange' } type - the event of available area changes\n        * @param { Callback<Rect> } [callback] - Callback used to return the available area\n        * @throws { BusinessError } 401 - Parameter error. Possible causes: 1. Mandatory parameters are left unspecified.\n        * <br>2. Incorrect parameter types.\n        * @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities.\n        * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n        * @syscap SystemCapability.Window.SessionManager\n        * @atomicservice\n        * @since 12\n        */\n        off(type: 'availableAreaChange', callback?: Callback<Rect>): void;\n        /**\n        * Get current display capability, including foldstatus, displaymode, rotation, and orientation information.\n        *\n        * @returns { string } Indicates the current foldstatus, displaymode, rotation, and orientation information.\n        * @throws { BusinessError } 801 - Capability not supported.Function getDisplayCapability can not work correctly due to limited device capabilities.\n        * @throws { BusinessError } 1400001 - Invalid display or screen.\n        * @throws { BusinessError } 1400003 - This display manager service works abnormally.\n        * @syscap SystemCapability.Window.SessionManager\n        * @atomicservice\n        * @since 18\n        * @test\n        */\n        getDisplayCapability(): string;\n    }\n}\nexport default display;\n",
}
export default FILE;